package com.upic.service;

import com.upic.po.jurisdiction.Resource;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface ResourceService {
    Resource saveResource(Resource resource);

    String deleteResource(long resourceId);

    Page<Resource> searchResource(Pageable pageable);

    List<Resource> searchResource();

    Resource findOne(long resourceId);

    Resource updateResource(Resource resource);
}
